package com.city.service.party;

import com.city.domain.party.PartyMembership;

import java.util.List;

public interface PartyMembershipService {
    void save(PartyMembership partyMembership);

    List<PartyMembership> findLimit(Integer page, Integer limit);//分页查询
    long count();
    PartyMembership findById(int id);
//    PartyMembership findByUserId(int id);//通过用户id查询党籍信息

    void deleteById(int id);

    //模糊分页查询
    List<PartyMembership> findLikeName(String name,Integer page,Integer limit);

    //根据人员名统计信息
    long countName(String name);
}
